package com.linko.intelligent.remote.pojo.po;


import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Category {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", position = 0)
    @TableId
    private Long id;

    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id", position = 1)
    private Long creatorId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 2)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", position = 3)
    private String name;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", position = 4)
    private String remark;

    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级id", position = 5)
    private Long pid;

    /**
     * 1删除
     */
    @ApiModelProperty(value = "1删除", position = 6)
    private Long del;

    /**
     * 配置字段json（age：年龄）
     */
    @ApiModelProperty(value = "配置字段json（age：年龄）", position = 7)
    private String cfgFieldName;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码", position = 8)
    private String code;

    /**
     * 父编码
     */
    @ApiModelProperty(value = "父编码", position = 9)
    private String pcode;

    /**
     * 同步数据的原始id
     */
    @ApiModelProperty(value = "同步数据的原始id", position = 10)
    private Long oid;
}
